﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Store
{  
    [Serializable]
   
    public class StoreAsk
    {
        public StoreAsk()
        {
        }
        #region model
        private Nullable<int> _id = 0;
        /// <summary>
        /// 主键
        /// </summary>
        public Nullable<int> Id
        {
            get { return _id; }
            set { _id = value; }
        }
        private Nullable<int> _senderid;
        /// <summary>
        /// 发送者ID
        /// </summary>
        public Nullable<int> SenderId
        {
            get { return _senderid; }
            set { _senderid = value; }
        }

        private Nullable<DateTime> _sendertime;
        /// <summary>
        /// 发送时间
        /// </summary>
        public Nullable<DateTime> SenderTime
        {
            get { return _sendertime; }
            set { _sendertime = value; }
        }

        private string _messageTitle;
        /// <summary>
        /// 消息标题
        /// </summary>
        public string MessageTitle
        {
            get { return _messageTitle; }
            set { _messageTitle = value; }
        }


        private string _message;
        /// <summary>
        /// 消息
        /// </summary>
        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
        private int? _receiveType=0;
        /// <summary>
        /// 消息发送的对象
        /// 1表示总部，2表示销售中心，3表示门店
        /// </summary>
        public int? ReceiveType
        {
            get { return _receiveType; }
            set { _receiveType = value; }
        }
        private int? _receiveStoreId = 0;
        /// <summary>
        /// 如果消息发送给门店，存放接受门店的ID
        /// </summary>
        public int? ReceiveStoreId
        {
            get { return _receiveStoreId; }
            set { _receiveStoreId = value; }
        }
        private int? _receiveStoreCenterId=0;
        /// <summary>
        /// 如果消息发送销售中心，存放接受销售中心的ID
        /// </summary>
        public int? ReceiveStoreCenterId
        {
            get { return _receiveStoreCenterId; }
            set { _receiveStoreCenterId = value; }
        }
        private int? _answercount;
        /// <summary>
        /// 回复的数量
        /// </summary>
        public int? Answercount
        {
            get { return _answercount; }
            set { _answercount = value; }
        }
        #endregion
    }
}
